<div class="dialog-body">
    <ul class="dialog-body-ul">
        <li class="dialog-body-li">
            <div class="dialog-body-item">
                <div class="dialog-label">库位代码</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input" ng-model="ngDialogData.stockUnit.locCode"/>
                </div>
            </div>
            <div class="dialog-body-item">
                <div class="dialog-label">层</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input" ng-model="ngDialogData.stockUnit.locLevel"/>
                </div>
            </div>
        </li>

        <li class="dialog-body-li">
            <div class="dialog-body-item">
                <div class="dialog-label">排</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input" ng-model="ngDialogData.stockUnit.locRow"/>
                </div>
            </div>
            <div class="dialog-body-item">
                <div class="dialog-label">列</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input" ng-model="ngDialogData.stockUnit.locColumn"/>
                </div>
            </div>
        </li>

        <li class="dialog-body-li">
            <div class="dialog-body-item">
                <div class="dialog-label">长</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input" ng-model="ngDialogData.stockUnit.locLength"/>
                </div>
            </div>
            <div class="dialog-body-item">
                <div class="dialog-label">宽</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input" ng-model="ngDialogData.stockUnit.locWidth"/>
                </div>
            </div>
        </li>
        <li class="dialog-body-li">
            <div class="dialog-body-item">
                <div class="dialog-label">所属仓库代码</div>
                <div class="dialog-content">
                    <ui-select ng-model="ngDialogData.dropDownDefault.warehouse" on-select="changeWarehouseChange($item)">
                        <ui-select-match>
                            <span ng-bind="$select.selected.name"></span>
                        </ui-select-match>
                        <ui-select-choices repeat="warehouse in (ngDialogData.warehouse | filter: $select.search) track by warehouse.value">
                            <span ng-bind="warehouse.name"></span>
                        </ui-select-choices>
                        <ui-select-no-choice>
                            没有加载到数据
                        </ui-select-no-choice>
                    </ui-select>
                </div>
            </div>
            <div class="dialog-body-item">
                <div class="dialog-label">所属仓库名称</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input layui-disabled" ng-model="ngDialogData.stockUnit.locWhName" readonly="readonly"/>
                </div>
            </div>
        </li>
        <li class="dialog-body-li">
            <div class="dialog-body-item">
                <div class="dialog-label">所属库区代码</div>
                <div class="dialog-content">
                    <ui-select ng-model="ngDialogData.dropDownDefault.zone" on-select="changeZoneChange($item)">
                        <ui-select-match>
                            <span ng-bind="$select.selected.zeZoneCode"></span>
                        </ui-select-match>
                        <ui-select-choices repeat="zone in (ngDialogData.zone | filter: $select.search) track by zone.zeZoneCode">
                            <span ng-bind="zone.zeZoneCode"></span>
                        </ui-select-choices>
                        <ui-select-no-choice>
                            没有加载到数据
                        </ui-select-no-choice>
                    </ui-select>
                </div>
            </div>
            <div class="dialog-body-item">
                <div class="dialog-label">所属库区名称</div>
                <div class="dialog-content">
                    <input type="text" class="layui-input layui-disabled" ng-model="ngDialogData.stockUnit.locZoneName" readonly="readonly"/>
                </div>
            </div>
        </li>
    </ul>
</div>

<div class="dialog-toolbar">
    <button class="layui-btn" ng-click="addOrUpdateClick()">保存</button>
    <button class="layui-btn" ng-click="closeThisDialog()">取消</button>
</div>